﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynaPrecision.FastFourierTransform
{
	/// <summary>
	/// Thrown when the input data is not power of 2
	/// </summary>
	[Serializable]
	public class FFTDataCountNotPowerOfTwoException : Exception
	{
		public FFTDataCountNotPowerOfTwoException() { }
		public FFTDataCountNotPowerOfTwoException(string message) : base(message) { }
		public FFTDataCountNotPowerOfTwoException(string message, Exception inner) : base(message, inner) { }
		protected FFTDataCountNotPowerOfTwoException(
		  System.Runtime.Serialization.SerializationInfo info,
		  System.Runtime.Serialization.StreamingContext context)
			: base(info, context) { }
	}
}
